package com.company.structural.proxy_pattern.dynamic_proxy;

/**
 * 文档
 * @ClassName DocumentDAO
 * @Author tiezheng.han
 * @Date 2020/9/1 19:36
 **/
public class DocumentDAO implements AbstractDocumentDAO{

    @Override
    public Boolean deleteDocumentById(String documentId) {
        if (documentId.equals("D001")){
            System.out.println("删除ID为" + documentId + "的文档信息成功！");
        } else {
            System.out.println("删除ID为" + documentId + "的文档信息失败！");
        }
        return false;
    }
}
